<?php
class Activacion extends AppModel {
	var $name = 'Activacion';
	var $useTable = 'activaciones';	
	var $validate = array(
		'id' => array(
			'blank' => array(
				'rule' => array('blank'),
				'on' => 'create' 
			)
		),
		'create' => array(
			'notEmpty' => array(
				'rule' => array('notEmpty')
			)
		),
		'minutos' => array(
			'notEmpty' => array(
				'rule' => array('notEmpty')
			),
			'numeric' => array(
				'rule' => array('numeric')
			)
		)
	);
}
?>